
 ./exec.sh
host_ip=$(docker network inspect bridge | grep Gateway | awk '{print $NF}' | sed 's/"//g')

docker kill vue && docker rm vue 

docker run -d  -p 80:80 -p 443:443 --net vm \
  --name vue \
  --add-host=dc-app:$host_ip \
  -v "$(pwd)/nginx.conf":/etc/nginx/conf.d/default.conf  \
  -v /app/ng-pem:/ng-pem \
  -v "$(pwd)":/vue/  \
  -v /app/file:/app/file \
  -w /vue \
 nginx   
